package cn.falconnect.adserver.adapter.persistence;

import java.util.Collection;
import java.util.List;

import cn.falconnect.adserver.domain.ad.AmountStore;
import cn.falconnect.adserver.domain.ad.Campaign;

public interface CampaignRepository {

	List<AmountStore> findAmounts(Campaign c);

	List<Campaign> findAvailable();
	
	/**
	 * 根据订单id获得创意set
	 * 创意中包含：素材，素材组。
	 * @param campaignId
	 * @return
	 */
	Campaign fetchCampaignById(Integer campaignId);
	
	/**
	 * 根据多个订单id获取订单列表。
	 * @param campaignIds
	 * @return
	 */
	List<Campaign> multiFetchCampaignByIds(Collection<String> campaignIds);

}
